import request from '@/utils/request'
import { tradeApi } from '@/utils/comm'

// 查询服务订单评论列表
export function listServerOrderComment(query) {
  return request({
    url: `${tradeApi}/serverOrderComment/list`,
    method: 'get',
    params: query
  })
}

// 查询服务订单评论详细
export function getServerOrderComment(id) {
  return request({
    url: `${tradeApi}/serverOrderComment/` + id,
    method: 'get'
  })
}

// 删除
export function delServerOrderComment(id) {
  return request({
    url: `${tradeApi}/serverOrderComment/` + id,
    method: 'delete'
  })
}